package per.poker.chudadi;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CardTypeEnum {

    SINGLE(0, "单张", 1),
    PAIR(1, "对子", 2),
    TRIPLE(2, "三张", 3),
    QUADRUPLE(3, "四张", 4),
    FLUSH(4, "顺子", 5),
    THREE_WITH_TWO(5, "三带二", 5),
    FOURTH_WITH_ONE(6, "四带一", 5),
    STRAIGHT(7, "同花顺", 5),
    ;

    private final Integer code;
    private final String desc;
    private final Integer len;

}
